
package com.ys.chatserver.common.dto;

/**
 * 由服务端返回的客户端需否更新客户端的信息传输DTO.
 * <p>
 * <font color="#ff0000">版本检查和自动更新机制当前仅针对Android客户端。</font>
 * 
 * @version 1.0
 */
public class AutoUpdateInfoFromServer
{
	/** 该客户端是否需要进行程序版本更新 */
	private boolean needUpdate = false;
	/** 需要更新的最新客户端APK程序版本码（整数字符串） */
	private String latestClientAPKVercionCode = "0";
	/** 需要更新的最新客户端APK程序完整HTTP地址 */
	private String latestClientAPKURL = null;
	/** 需要更新的最新客户端APK程序大小（单位：字节） */
	private long latestClientAPKFileSize = 0;
	
	public boolean isNeedUpdate()
	{
		return needUpdate;
	}
	public void setNeedUpdate(boolean needUpdate)
	{
		this.needUpdate = needUpdate;
	}
	public String getLatestClientAPKURL()
	{
		return latestClientAPKURL;
	}
	public void setLatestClientAPKURL(String latestClientAPKURL)
	{
		this.latestClientAPKURL = latestClientAPKURL;
	}
	public long getLatestClientAPKFileSize()
	{
		return latestClientAPKFileSize;
	}
	public void setLatestClientAPKFileSize(long latestClientAPKFileSize)
	{
		this.latestClientAPKFileSize = latestClientAPKFileSize;
	}
	public String getLatestClientAPKVercionCode()
	{
		return latestClientAPKVercionCode;
	}
	public void setLatestClientAPKVercionCode(String latestClientAPKVercionCode)
	{
		this.latestClientAPKVercionCode = latestClientAPKVercionCode;
	}
}
